<template>
    <div class="CheckIn">
        <h1>借阅登记</h1>
        <order status="('登记中')" :btn1="toRegister" name1="登记"  />
    </div>
</template>

<script>
    export default {
        props: {
        },
        methods:{
            // 登记
            toRegister(item){
                this.$axios.put('/order/registerOrder',{id:item.id}).then(this.$then);
            }
        }
    };
</script>
<style scoped lang="scss" >
    @import "CheckIn";
</style>
